//
//  XJNetWorkingManager.h
//  JingShiDemo
//
//  Created by XDD on 16/2/23.
//  Copyright © 2016年 XDD. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^SuccessBlock)(id responseObject);
typedef void (^FailureBlock)(NSError *error);
@interface XJNetWorkingManager : NSObject

+ (NSURLSessionDataTask *)postWithUrl:(NSString *)url params:(NSDictionary *)params successHandler:(SuccessBlock)success failureHandler:(FailureBlock)failure;

@end
